package pers.xiaojun.boot.module.system.controller.dict.vo.data;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 字典数据响应实体
 *
 * @author xiaojun
 * @since 2025-10-23
 */
@Schema(description = "字段数据响应实体-VO")
@Data
public class DictDataRespVO {

    @Schema(description = "字典Id", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Long id;

    @Schema(description = "字典排序", example = "0")
    private Integer sort;

    @Schema(description = "字典标签", requiredMode = Schema.RequiredMode.REQUIRED, example = "性别")
    private String label;

    @Schema(description = "字典键值", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private String value;

    @Schema(description = "字典类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "sys_user_sex")
    private String dictType;

    @Schema(description = "状态（0正常 1停用）", example = "0")
    private Integer status;

    @Schema(description = "颜色类型", example = "primary")
    private String colorType;

    @Schema(description = "CSS 样式", example = "color:red;")
    private String cssClass;

    @Schema(description = "备注", example = "备注信息")
    private String remark;

    @Schema(description = "创建时间", example = "2023-08-01 12:00:00")
    private LocalDateTime createTime;

}
